package user

import (
	"context"
	handlerCommon "mall_admin_api/biz/handler/common"
	"mall_admin_api/biz/model/admin_user_address"
)

type UserAddress struct {
	commonInfo *handlerCommon.Response
}

func NewUserAddress(response *handlerCommon.Response) *UserAddress {
	return &UserAddress{commonInfo: response}
}

func (u *UserAddress) GetAddressInfo(ctx context.Context, userAddressID int64) (*admin_user_address.UserAddress, error) {
	data := &admin_user_address.UserAddress{
		ID:           1,
		ReceiverName: "大力",
		Email:        "aaa@qq.com",
		Mobile:       "151123123123",
		Province:     "广东省",
		City:         "深圳市",
		Region:       "福田区",
		Address:      "东晓街道",
	}
	return data, nil
}
